{include file="inc/head.html" data=""}
<div class="index">
	<div class="left">
		{include file="inc/sidebar.html"}
	</div>
	<div>
		<a href="{'Admin/classes/add'|site_url}?pid=0">添加分类</a>
	</div>
	<div>
		<form method="POST" action="{'Admin/classes/save'|site_url}">
			分类名称<input type="text" name="title" />
			选择父节点
			<select name="pid">
				<option value='0'>根节点</option>
				{section name=sn loop=$list}
				<option value='{$list[sn]->id}'>{$list[sn]->title}</option>
				{/section}
				
			</select>
			<input type="submit" value="提交">
		</form>
		
	</div>
</div>
{include file="inc/foot.html"}